{extend name="public:layout" /}

{block name="title"}
	<title>{:site('siteName')}-{$article.title}</title>
{/block}

{block name="css"}
	<link rel="stylesheet" type="text/css" href="__STATIC__/{$theme}/css/user.css">
	<link rel="stylesheet" href="__STATIC__/share/css/share.css" type="text/css" />
{/block}

{block name="content"}
	<div class="layui-main">
		<div class="user-main">
			<div class="user-left">
				{include file="public:user" index="<?php echo $index;?>" /}
			</div>
			<div class="user-right">
				<div class="layui-tab layui-tab-brief">
					<ul class="layui-tab-title">
						<li class="layui-this">{$article.title}</li>
						<li style="float: right">浏览数：{$article.click}</li>
					</ul>
					<div class="layui-tab-content">
						{$article.content}
					</div>
				</div> 
			</div>
		</div>
	</div>
{/block}

{block name="script"}

{/block}